<?php $this->load->view('school_admin_home/_header') ?>
<?php $this->load->view('message') ?>

<div class="container">
    <div class="panel panel-primary">
        <div class="panel-heading">
            <!-- <h3 class="panel-title">未选课学生列表</h3> -->
            <h3 class="panel-title">选课学生列表</h3>
        </div>
        <div class="panel-body">
            <div id="table">
                <table id="performace_table" class="table table-striped table-hover ">
                    <thead>
                        <tr>
                            <th>序号</th>
                            <th>姓名</th>
                            <th>学号</th>
                            <th>班级</th>
                            
                        </tr>
                    </thead>
                    <tbody>
                        <?php if (is_array($students)): ?>
                            
                            <?php $index=1; ?>
                            <?php foreach ($students as $item ): ?>
                            <tr>
                                <td>
                                    <?php echo $index++ ;?></td>
                                <td>
                                    <?php echo $item['student_name']?></td>
                                <td>
                                    <?php echo $item['student_id']?></td>
                                <td>
                                    <?php echo $item['logic_class_name']?></td>
                                
                            </tr>
                            <?php endforeach; ?>
                        <?php endif ?>
                    </tbody>
                </table>
            </div>

        </div>
    </div>

</div>

<?php $this->load->view('admin_home/_footer')?>